import { createRouter, createWebHashHistory } from 'vue-router'
import index from '../views/index.vue'
import juniorcollege from '../views/juniorcollege.vue'
import about_us from '../views/about_us.vue'
import profession from '../views/profession.vue'

const routes = [
  {
    path: '/',
    name: 'index',
    component: index
  },
  {
    path: '/juniorcollege',
    name: 'juniorcollege',
    component: juniorcollege
  },
  {
    path: '/about_us',
    name: 'about_us',
    component: about_us
  },
  {
    path: '/profession',
    name: 'profession',
    component: profession
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
